package com.tuni.birthdaymoney.web.model;

import com.tuni.birthdaymoney.persistence.entity.Person;

public class Donator {
    private Person person;
    private double amount;
    
    public Donator() { }
    public Donator(Person person) {
        this.person = person;
    }
    
    public int getId() {
        return person.getId();
    }
    public void setId(int id) {
        person.setId(id);
    }
    public String getFirstName() {
        return person.getFirstName();
    }
    public void setFirstName(String firstName) {
        person.setFirstName(firstName);
    }
    public String getMiddleName() {
        return person.getMiddleName();
    }
    public void setMiddleName(String middleName) {
        person.setMiddleName(middleName);
    }
    public String getLastName() {
        return person.getLastName();
    }
    public void setLastName(String lastName) {
        person.setLastName(lastName);
    }
    public String getPhotoPath() {
        return person.getPhotoPath();
    }
    public void setPhotoPath(String photoPath) {
        person.setPhotoPath(photoPath);
    }
    public double getAmount() {
        return amount;
    }
    public void setAmount(double amount) {
        this.amount = amount;
    }
}
